#!/usr/bin/env node
const fs=require("fs"),
      src=process.argv[2],
      dst=process.argv[3],//target file
      log=console.log;
try{
 fs.renameSync(src,dst);
}catch(e){
  log(e.message);
  process.exit(1);
}
